package com.redpack.quick.service;

import com.redpack.quick.common.beans.UserTaskBean;
import com.redpack.quick.datasource.entity.UserTaskInfoEntity;
import org.springframework.data.domain.Page;

/**
 * Created by shuttle on 4/4/18.
 */
public interface IUserTaskInfo {

    Page<UserTaskBean> findByOpenId(String uid, int pageSize, int pageNum);

    UserTaskInfoEntity save(UserTaskInfoEntity entity);

    String findByTaskIdAndUid(String uid, String taskId);
}
